package objects;

import org.newdawn.slick.SlickException;
import org.newdawn.slick.geom.Vector2f;

import divers.StaticVariables;

public class Grass extends Tile{

	public Grass(String side, Vector2f case_pos) throws SlickException{
		
		super(case_pos);
		if (side == "left"){
			
			texture = StaticVariables.sheet.getSprite(2, 0).getFlippedCopy(true, false);
		}
		else if (side == "right"){
			
			texture = StaticVariables.sheet.getSprite(2, 0);
		}
		else if (side == "top"){
			
			texture = StaticVariables.sheet.getSprite(1, 0);
		}
		else{
			
			texture = StaticVariables.sheet.getSprite(2,  1);
		}
		type = "grass";
	}
	
	
}
